Api.RemoveVariable 方法

移除一個使用者定義變數。

命名空間IntervalZero.KINGSTAR.Local.Api

組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

語法

C#VB
public KsError RemoveVariable(
       UserVariable Variable
)
Public Function RemoveVariable(
       Variable As UserVariable
) As KsError

參數

Variable

型別:UserVariable

欲移除的變數。

回傳值

型別:KsError

方法的回傳代碼。

備註

使用 Debug 方法或 Log 時,無法使用 RemoveVariable 移除使用者變數。

可用的 EtherCAT 狀態

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

範例

C#
N/A

參見

Api 類別

IntervalZero.KINGSTAR.Local.Api 命名空間